﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ControlPress
{
    class myLine
    {
        private double m_a;
        private double m_b;
        private myPoint m_start;
        private myPoint m_end;

        private List<myPoint> m_oripoints;
        private List<myPoint> m_newpoints;

        public myLine()
        {
            m_oripoints = new List<myPoint>();
            m_newpoints = new List<myPoint>();
        }

        public List<myPoint> NewPoints
        {
            get { return m_newpoints; }
            set { m_newpoints = value; }
        }

        public List<myPoint> OriPoints
        {
            get { return m_oripoints; }
            set { m_oripoints = value; }
        }

        public double a
        {
            get { return m_a; }
            set { m_a = value; }
        }

        public double b
        {
            get { return m_b; }
            set { m_b = value; }
        }

        public myPoint startpoint
        {
            get { return m_start; }
            set { m_start = value; }
        }

        public myPoint endpoint
        {
            get { return m_end; }
            set { m_end = value; }
        }


    }
}
